<template>
	<view class="pageStyle">
		<!-- <g-watermark/> -->
		<web-view :src="urls"></web-view>
	</view>
</template>
<script>
	import {
		Api
	} from "@/utils/Api.js";
	import {
		mapState
	} from "vuex";
	import {
		getDeptCode
	} from "@/utils/commonHeader.js";

	export default {
		data() {
			return {
				describe: "待办流程",
				url: {
					list: "/m/flow/listDoingPage?skey=",
				},
				// urls: "",
			};
		},
		onLoad(options) {
			// let records = JSON.parse(options.record);
			//动态获取webview链接
			//    this.urls =
			//      Api.baseUrl +
			//      "/" +
			//      records.code +
			//      "?skey=" +
			//      this.loginInfo.skey +
			//      "&isUniWebview=true";
			// console.log('urls', this.urls);
		},
		computed: {
			...mapState(["loginInfo"]),

			urls() {
				let urls = Api.baseUrl + this.url.list + this.loginInfo.skey + '&isUniWebview=true';
				return urls;
			},
		},
		methods: {
			
		}
	};
</script>

<style lang="scss" scoped>
</style>